using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using ProxyServer.Certs;
using ProxyServer.EntityFrameworkCore.ValueConverts;

namespace ProxyServer.EntityFrameworkCore.Sqlite;

public class SqliteModelBuilder
{
    public static void ConfigureModel(ModelBuilder modelBuilder)
    {
        modelBuilder.ApplyConfiguration(new ServiceEntityTypeConfiguration());
        modelBuilder.ApplyConfiguration(new ProxyConfigSnapshotEntityTypeConfiguration());
        modelBuilder.ApplyConfiguration(new CertificateInfoEntityTypeConfiguration());
    }

}